package com.zeng.sys.authmd.servicemodule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zeng.nicecore.bean.CommonBean;
import lombok.*;
import lombok.experimental.FieldNameConstants;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
*
* @description 系统用户
* @author 今天多少号
* @version 2019-11-17 20:37:22
*/
@Data
@Entity
@Table(name = "sys_user")
@TableName(value = "sys_user")
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@FieldNameConstants
public class User extends CommonBean {

    //用户code 
    private String userAccount;

    //角色标识
    private String fullName;

    //系统管理员配置
    private String userConfig;

    //用户密码
    private String userPw;

    //账号是否锁定，1：锁定，0未锁定 
    private Short locked;

}
